import React from 'react'
import ReactDOM from 'react-dom'
// 引入路由器
import { BrowserRouter } from 'react-router-dom'
import App from './App'

// index.js是入口文件, App.js是外壳组件
ReactDOM.render(
    <BrowserRouter>
        <App />
    </BrowserRouter>,
    document.getElementById('root')
);